package app.modules 
{
	import gui.PositionInfo;
	/**
	 * ...
	 * @author Dmitriy Gaiduk
	 */
	public class ChooseSectionInfo
	{
		public var radioButtons:Vector.<RadioButtonInfo>;
		public var titles:Vector.<TitleInfo>;
		public var furnitureID:String;
		public var numSteppers:Vector.<NumStepperInfo>;
		public var preview:String;
		public var previewPos:PositionInfo;
		public var previewWidth:Number = 10;
		public var previewHeight:Number = 10;
		
		/**
		 * prefix for furniture id
		 */
		public var idPrefix:String = "none";
		/**
		 * default width for furniture id
		 */
		public var defWidth:String = "noneW";
		/**
		 * default height for furniture id
		 */
		public var defHeight:String="noneH";
		
		public function ChooseSectionInfo() 
		{
			
		}
		
		public function addRadioButton(radBtn:RadioButtonInfo):void
		{
			if (radioButtons == null)
			{
				radioButtons = new Vector.<RadioButtonInfo>();
			}
			radioButtons.push(radBtn);
		}
		
		public function addTitle(title:TitleInfo):void
		{
			if (titles == null)
			{
				titles = new Vector.<TitleInfo>();
			}
			titles.push(title);
		}
		
		public function addNumericStepper(numStepper:NumStepperInfo):void
		{
			if (numSteppers == null)
			{
				numSteppers = new Vector.<NumStepperInfo>();
			}
			numSteppers.push(numStepper);
		}
		
	}

}